<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Magic 口碑营销平台</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<link rel="stylesheet" href="../css/magic.css">
<link rel="stylesheet" href="../css/work-magic.css">
<link rel="stylesheet" href="../css/jquery.ui.all.css">
</head>
<body>
<div id="wrap">
  <form id="validate">
    <h2 class="title">修改任务规则</h2>
    <table>
      <tbody>
        <tr>
          <th>任务规则ID</th>
          <td>222222</td>
        </tr>
        <tr>
          <th><abbr title="必填项" class="require">*</abbr>
            <label for="rule-title">任务规则名称：</label></th>
          <td><input type="text" name="" class="text s-size" id="rule-title"></td>
        </tr>
        <tr>
          <th colspan="2"><abbr title="必填项" class="require">*</abbr>通道选项：</th>
        </tr>
        <tr>
          <th><label for="email-way">邮件通道：</label></th>
          <td><input type="text" name="" class="text s-size readonly" id="email-way" readonly="readonly">
            <button class="select-template">选择模板</button>
            <button class="clear">清空</button></td>
        </tr>
        <tr>
          <th><abbr title="必填项" class="require">*</abbr>时间设定：</th>
          <td><label style="margin-right:20px;">
              <input type="radio" name="time-type" value="" checked="checked" id="real-time-radio">
              实时</label>
            <label style="margin-right:20px;">
              <input type="radio" name="time-type" value="" id="definite-time-radio">
              定时</label>
            <label>
              <input type="radio" name="time-type" value="" id="cycle-radio">
              周期</label></td>
        </tr>
        <tr id="definite-time">
          <th></th>
          <td><label>时间范围：
              <input readonly="readonly" class="text time" id="start-time">
            </label>
            <select class="yk-cal-hour">
              <option value="00">00</option>
              <option value="01">01</option>
              <option value="02">02</option>
              <option value="03">03</option>
              <option value="04">04</option>
              <option value="05">05</option>
              <option value="06">06</option>
              <option value="07">07</option>
              <option value="08">08</option>
              <option value="09">09</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
            </select>
            <span>:</span>
            <select class="yk-cal-minute">
              <option value="00">00</option>
              <option value="05">05</option>
              <option value="10">10</option>
              <option value="15">15</option>
              <option value="20">20</option>
              <option value="25">25</option>
              <option value="30">30</option>
              <option value="35">35</option>
              <option value="40">40</option>
              <option value="45">45</option>
              <option value="50">50</option>
              <option value="55">55</option>
            </select>
            <span> - </span>
            <input readonly="readonly" class="text time" id="end-time">
            <select class="yk-cal-hour">
              <option value="00">00</option>
              <option value="01">01</option>
              <option value="02">02</option>
              <option value="03">03</option>
              <option value="04">04</option>
              <option value="05">05</option>
              <option value="06">06</option>
              <option value="07">07</option>
              <option value="08">08</option>
              <option value="09">09</option>
              <option value="10">10</option>
              <option value="11">11</option>
              <option value="12">12</option>
              <option value="13">13</option>
              <option value="14">14</option>
              <option value="15">15</option>
              <option value="16">16</option>
              <option value="17">17</option>
              <option value="18">18</option>
              <option value="19">19</option>
              <option value="20">20</option>
              <option value="21">21</option>
              <option value="22">22</option>
              <option value="23">23</option>
            </select>
            <span>:</span>
            <select class="yk-cal-minute">
              <option value="00">00</option>
              <option value="05">05</option>
              <option value="10">10</option>
              <option value="15">15</option>
              <option value="20">20</option>
              <option value="25">25</option>
              <option value="30">30</option>
              <option value="35">35</option>
              <option value="40">40</option>
              <option value="45">45</option>
              <option value="50">50</option>
              <option value="55">55</option>
            </select></td>
        </tr>
        <tr id="cycle">
          <th></th>
          <td><div>
              <label>启动时间：
            	<input readonly="readonly" class="text time" id="on-time">
              </label>
              <select class="yk-cal-hour">
                <option value="00">00</option>
                <option value="01">01</option>
                <option value="02">02</option>
                <option value="03">03</option>
                <option value="04">04</option>
                <option value="05">05</option>
                <option value="06">06</option>
                <option value="07">07</option>
                <option value="08">08</option>
                <option value="09">09</option>
                <option value="10">10</option>
                <option value="11">11</option>
                <option value="12">12</option>
                <option value="13">13</option>
                <option value="14">14</option>
                <option value="15">15</option>
                <option value="16">16</option>
                <option value="17">17</option>
                <option value="18">18</option>
                <option value="19">19</option>
                <option value="20">20</option>
                <option value="21">21</option>
                <option value="22">22</option>
                <option value="23">23</option>
              </select>
              <span>:</span>
              <select class="yk-cal-minute">
                <option value="00">00</option>
                <option value="05">05</option>
                <option value="10">10</option>
                <option value="15">15</option>
                <option value="20">20</option>
                <option value="25">25</option>
                <option value="30">30</option>
                <option value="35">35</option>
                <option value="40">40</option>
                <option value="45">45</option>
                <option value="50">50</option>
                <option value="55">55</option>
              </select>
            </div>
            <div style="margin-top:10px;">
              <label>间隔周期：
                <select name="">
                  <option value="">一天</option>
                </select>
              </label>
              <label>循环次数：
                <select name="">
                  <option value="">一次</option>
                </select>
              </label>
            </div></td>
        </tr>
        <tr>
          <th>创建人：</th>
          <td>caigen</td>
        </tr>
        <tr>
          <th></th>
          <td><input type="submit" value="修改" class="btn">
            <button id="back">关闭</button></td>
        </tr>
      </tbody>
    </table>
  </form>
</div>
<script type="text/javascript" src="../js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="../js/jquery.ui.core.js"></script>
<script type="text/javascript" src="../js/jquery.ui.widget.js"></script>
<script type="text/javascript" src="../js/jquery.ui.datepicker.js"></script>
<script src="../js/magic.js"></script>
<script>
magic.init("task_rules_editor",{
					 		"templateListUrl" : "template_list.html",
							"backUrl" : "task_rules_admin.html"
					 });
</script>
</body>
</html>